home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / cat2 / sysconf.nr < prev    next >
Encoding:
Text File  |  1993-03-03  |  1.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. Sysconf(2)                 Oct. 1, 1991                Sysconf(2)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        Sysconf  - get information about operating system configu-
  9.        ration
  10.  
  11. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  12.        LONG Sysconf( WORD n );
  13.  
  14. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  15.        _✓S_✓y_✓s_✓c_✓o_✓n_✓f returns information about various limits or  capa-
  16.        bilities  of  the  currently  running version of MiNT. The
  17.        variable _✓n controls which limit  or  capability  is  being
  18.        queried, as follows:
  19.                n Value Returned
  20.  
  21.             -1   return max. legal value for n in Sysconf(n)
  22.             0    return max. number of memory regions per process
  23.             1    return max. length of Pexec() command line string
  24.             2    return max. number of open files per process
  25.             3    return number of supplementary group id's
  26.             4    return max. number of processes per user
  27.        If  any  of these items are unlimited, then 0x7fffffffL is
  28.        returned.
  29.  
  30. S✓SE✓EE✓E A✓AL✓LS✓SO✓O
  31.        _✓D_✓p_✓a_✓t_✓h_✓c_✓o_✓n_✓f(2)
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Version 0.9          MiNT Programmer's Manual                   1
  65.  
  66.  
  67.